package org.jeecg.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("记录页数信息")
public class BaseIndex {

    @ApiModelProperty("下标")
    private Integer index;

    @ApiModelProperty("是否到达尾页")
    private Boolean lastPage;

    @ApiModelProperty("尾页")
    private Integer maxPage;
}
